package com.zm.rpc.protocol;

public class RpcProtocol<T> {
    private Header header;
    private T context;
    public Header getHeader() {
        return header;
    }
    public void setHeader(Header header) {
        this.header = header;
    }
    public T getContext() {
        return context;
    }
    public void setContext(T context) {
        this.context = context;
    }
    @Override
    public String toString() {
        return "RpcProtocol [header=" + header.toString() + ", context=" + context + "]";
    }
    
}
